if(CMAKE_CXX_COMPILER_ID MATCHES Clang OR CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES AppleClang)
set_property(SOURCE eltwise.c APPEND PROPERTY COMPILE_OPTIONS "-mavx512f")
endif()
add_executable(vnni_ex6_tests ex6_test.cpp eltwise.c)
target_link_libraries(vnni_ex6_tests gtest_main optimisation_common)
add_test(NAME vnni_ex6_test COMMAND vnni_ex6_tests)
